class Language {
  set = (lang) => {
    localStorage.setItem('localeLang', lang)
    location.reload()
  }

  get = () => {
    return localStorage.getItem('localeLang')
  }
}

export { Language }
